import request from '@/utils/request'

export default {

    getList(searchMap) {

        return request({
            url: "/roomTypeStatus/list",
            method: 'POST',
            data: searchMap
        })
    },
    findById(id) {

        return request({
            url: "/roomTypeStatus/" + id,
            method: "get"
        })

    },
    update(pojo) {
        return request({
            url: "/roomTypeStatus/update",
            method: 'put',
            data: pojo
        })

    }
}